package com.health.pay.tencent.protocol.transfers;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;

@XmlAccessorType(XmlAccessType.FIELD)
@XmlRootElement(name = "xml")
@XmlType(propOrder = { "return_code", "return_msg", "mch_appid", "mchid",
		"device_info", "nonce_str", "result_code", "err_code", "err_code_des" ,"partner_trade_no","payment_no","payment_time"})
public class TransfersResp {

	private String return_code = "";
	private String return_msg = "";

	//以下字段在return_code为SUCCESS的时候有返回
	private String mch_appid = "";//商户appid
	private String mchid = "";//商户号
	private String device_info = "";//设备号
	private String nonce_str = "";//随机字符串
	private String result_code = "";//业务结果
	private String err_code = "";//错误代码
	private String err_code_des = "";//错误代码描述

	//以下字段在return_code 和result_code都为SUCCESS的时候有返回
	private String partner_trade_no="";//商户订单号
	private String payment_no;//微信订单号
	private String payment_time;//微信支付成功时间

	public String getReturn_code() {
		return return_code;
	}

	public void setReturn_code(String returnCode) {
		return_code = returnCode;
	}

	public String getReturn_msg() {
		return return_msg;
	}

	public void setReturn_msg(String returnMsg) {
		return_msg = returnMsg;
	}

	public String getMch_appid() {
		return mch_appid;
	}

	public void setMch_appid(String mchAppid) {
		mch_appid = mchAppid;
	}

	public String getMchid() {
		return mchid;
	}

	public void setMchid(String mchid) {
		this.mchid = mchid;
	}

	public String getDevice_info() {
		return device_info;
	}

	public void setDevice_info(String deviceInfo) {
		device_info = deviceInfo;
	}

	public String getNonce_str() {
		return nonce_str;
	}

	public void setNonce_str(String nonceStr) {
		nonce_str = nonceStr;
	}

	public String getResult_code() {
		return result_code;
	}

	public void setResult_code(String resultCode) {
		result_code = resultCode;
	}

	public String getErr_code() {
		return err_code;
	}

	public void setErr_code(String errCode) {
		err_code = errCode;
	}

	public String getErr_code_des() {
		return err_code_des;
	}

	public void setErr_code_des(String errCodeDes) {
		err_code_des = errCodeDes;
	}

	public String getPartner_trade_no() {
		return partner_trade_no;
	}

	public void setPartner_trade_no(String partner_trade_no) {
		this.partner_trade_no = partner_trade_no;
	}

	public String getPayment_no() {
		return payment_no;
	}

	public void setPayment_no(String payment_no) {
		this.payment_no = payment_no;
	}

	public String getPayment_time() {
		return payment_time;
	}

	public void setPayment_time(String payment_time) {
		this.payment_time = payment_time;
	}
}
